package cn.iocoder.yudao.module.vos.service.marketingscore.app;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.vos.controller.app.marketingscore.vo.MarketingScorePhoneMd5RespVO;
import cn.iocoder.yudao.module.vos.dal.dataobject.secretaccount.SecretAccountDO;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 名单评分 Service 接口
 *
 * @author shijun
 */
public interface MarketingScoreApiService {

    /**
     * 当日（由 Controller 指定）Top-N（来自账号 attach）内分页；仅返回 phoneMd5
     */
    PageResult<MarketingScorePhoneMd5RespVO> pageTopByDay(String appSecret, PageParam pageParam, String ip, LocalDate targetDate);

    boolean updateResponseWithCharge(String appSecret, String phoneMd5, Integer responseState, LocalDateTime responseDateTime, String ip);
}